﻿using Service.UserManagements.Dto;
using System;

namespace Service.UserManagements
{
    public interface IUserRoleService
    {
        RestFull Delete(int id, int adminRoleId);
        RestFull DeleteAll(int[] ids);
        RestFull<UserRoleDto> Insert(UserRoleDto userRoleDto);
        RestFull<UserRoleDto> Query(string userName, DateTime? sDate, DateTime? eDate, int page, int size);
        UserRoleDto QueryFirst(int id, int adminRoleId);
        RestFull<UserRoleDto> Update(UserRoleDto userRoleDto);
    }
}